using System;
using System.Collections.Generic;
using System.Text;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace TST.SharePoint.Shared.WebControls
{
    /// <summary>
    /// </summary>
    public class Grid : WebControl 
    {
        private GridDatasource _datasource;
        private DatasourceConfiguration _configuration;

        public Grid(GridDatasource datasource, DatasourceConfiguration configuration)
        {
            _datasource = datasource;
            _configuration = configuration;
        }

        protected GridDatasource Datasource
        {
            get { return _datasource; }
        }

        protected DatasourceConfiguration Configuration
        {
            get { return _configuration; }
        }
    }
}
